package com.zengqingfa.demo.event;

import org.springframework.context.ApplicationEvent;

/**
 * @author zengqingfa
 * @date 2019/11/22 13:27
 * @description
 * @email zengqingfa_java@163.com
 */
public class MyEvent extends ApplicationEvent {

    private String username;
    private String password;

    public MyEvent(Object source) {
        super(source);
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
